import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

/// 进店按钮
class EnterStoreButton extends StatelessWidget {
  const EnterStoreButton({
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.symmetric(
        horizontal: 6.w,
      ),
      decoration: BoxDecoration(
        border: Border.all(
          color: Theme.of(context).primaryColor,
        ),
        borderRadius: BorderRadius.circular(10.w),
      ),
      child: Row(
        children: [
          Image.asset(
            "assets/icons/store_red.png",
            width: 11.w,
            height: 11.w,
          ),
          SizedBox(width: 2.w),
          Text(
            "进店",
            style: TextStyle(
              color: Theme.of(context).primaryColor,
              fontSize: 11.sp,
            ),
          ),
        ],
      ),
    );
  }
}
